home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / programm.ing / ams__l~1.zoo / src / makefile < prev    next >
Encoding:
Makefile  |  1993-09-13  |  748 b   |  32 lines

  1. SRC=doublebu.cc resoluti.cc screen.cc sprite.cc mousepos.cc fastcoun.cc \
  2.             easyspri.cc joystick.cc smallgra.cc ca_pack.cc ca_unpac.cc \
  3.             fnameext.cc timer.cc blockmap.cc terminat.cc mobilesp.cc \
  4.             oscillat.cc sound.cc soundenv.cc fastfont.cc cookie.cc
  5. ASMSRC=joyisr.s
  6. OBJ=$(subst .cc,.o,$(SRC)) $(subst .s,.o,$(ASMSRC)
  7.  
  8. # WARNING: Sprite.cc may not work _without_ -O, because not enough
  9. # free registers are available for the asm() functions.
  10. C++FLAGS:= $(C++FLAGS) -O2 -W
  11. LDLIBS=-lg++
  12.  
  13. LIBRARY=../lib/ams.olb
  14. INC=../include
  15.  
  16. GXXINC:=$(INC),$(GXXINC)
  17.  
  18. $(LIBRARY): $(OBJ)
  19.     $(AR) r $(LIBRARY) $?
  20.     $(AR) s $(LIBRARY)
  21.  
  22. tcd.icc tcw.icc:    gentcd
  23.     gentcd
  24.  
  25. clean:
  26.     rm -f $(OBJ) gentcd
  27.  
  28. depend:
  29.     $(CCC) $(C++FLAGS) -MM $(SRC) >depends
  30.  
  31. include depends
  32.